import re

s = "共 13 条数据"
p = "共 (.*?) 条数据"
res = re.findall(p, s)[0]
print(res)
print(int(res))
